package com.zyz.G_常用类.包装类;

/**
 * @author: vick
 * @Date: 2025/3/18
 * @Description:
 * @version: 1.0
 */
//基本数据类型 ==》 包装类
public class BasicsToPackage {
    public static void main(String[] args) {

        //自动装箱
        int num1 = 20;
        Integer num2 = num1;

        boolean b = false;
        Boolean b2 = b;

        //通过构造器
        int num3 = 30;
        Integer i = new Integer(num3);
        System.out.println(i);

    }
}
